package com.group.three.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author xueyong
 * @since 2022-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class FavoriteVideos {

    private static final long serialVersionUID = 1L;

    /**
     * 视频收藏标签id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private long favoriteVideosId;

    /**
     * 视频编号
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long videoNumber;

    /**
     * 用户id-关联person表
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long personId;

    /**
     * 添加收藏时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private String collectionTime;
    /**
     * 收藏状态
     */
    private Integer favoriteState;
    /**
     * 视频图片
     */
    private String imageName;
    /**
     * 视频介绍
     */
    private String videoRecommend;
    /**
     * 视频名称
     */
    private String videoName;
    /**
     * 视频id
     */
    private Long videoId;

   private String personName;
}
